[INFO] fetching crate stm32wb-hal 0.1.2...
[INFO] checking stm32wb-hal-0.1.2 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate stm32wb-hal 0.1.2 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate stm32wb-hal 0.1.2 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] started tweaking crates.io crate stm32wb-hal 0.1.2
[INFO] finished tweaking crates.io crate stm32wb-hal 0.1.2
[INFO] tweaked toml for crates.io crate stm32wb-hal 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate stm32wb-hal 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b210a70e2cd78b5cf6cb2b33fbfb65aff38f000ad0dbc564eb5848cae22f7b0c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b210a70e2cd78b5cf6cb2b33fbfb65aff38f000ad0dbc564eb5848cae22f7b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b210a70e2cd78b5cf6cb2b33fbfb65aff38f000ad0dbc564eb5848cae22f7b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b210a70e2cd78b5cf6cb2b33fbfb65aff38f000ad0dbc564eb5848cae22f7b0c", kill_on_drop: false }`
[INFO] [stdout] b210a70e2cd78b5cf6cb2b33fbfb65aff38f000ad0dbc564eb5848cae22f7b0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9988c5a5e0091bd40993173e1e7e9bc59245e38ac6299922f0c5e5f0009307a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b9988c5a5e0091bd40993173e1e7e9bc59245e38ac6299922f0c5e5f0009307a", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling cortex-m v0.6.2
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking vcell v0.1.2
[INFO] [stderr]    Compiling syn v1.0.15
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling cortex-m-rt v0.6.12
[INFO] [stderr]    Compiling cortex-m v0.5.10
[INFO] [stderr]    Compiling heapless v0.5.3
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.5
[INFO] [stderr]    Compiling stm32wb-pac v0.2.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking aligned v0.2.0
[INFO] [stderr]     Checking nb v0.1.2
[INFO] [stderr]    Compiling stm32-device-signature v0.3.0
[INFO] [stderr]    Compiling stm32wb-hal v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling cortex-m-rtfm v0.5.1
[INFO] [stderr]     Checking bit_field v0.10.0
[INFO] [stderr]     Checking usb-device v0.2.5
[INFO] [stderr]     Checking rtfm-core v0.3.0
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking volatile-register v0.2.0
[INFO] [stderr]     Checking embedded-hal v0.2.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking usbd-serial v0.1.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking hash32 v0.1.1
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking as-slice v0.1.3
[INFO] [stderr]     Checking aligned v0.3.2
[INFO] [stderr]     Checking panic-semihosting v0.5.3
[INFO] [stderr]    Compiling rtfm-syntax v0.4.0
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.8
[INFO] [stderr]    Compiling cortex-m-rtfm-macros v0.5.0
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/rtc.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     (tmp + (value & 0x0F))
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/rtc.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     (tmp + (value & 0x0F))
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::timer`
[INFO] [stdout]   --> examples/timer.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::hal::timer::{Event, Timer};
[INFO] [stdout]    |                 ^^^^^ could not find `timer` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stm32wb-hal`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial`
[INFO] [stdout]   --> examples/serial.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::hal::serial::Serial;
[INFO] [stdout]    |                 ^^^^^^ could not find `serial` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::dma`
[INFO] [stdout]   --> examples/serial_dma.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::hal::dma::Half;
[INFO] [stdout]    |                 ^^^ could not find `dma` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial`
[INFO] [stdout]   --> examples/serial_dma.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::hal::serial::Serial;
[INFO] [stdout]    |                 ^^^^^^ could not find `serial` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial`
[INFO] [stdout]   --> examples/pll_config.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::hal::serial::Serial;
[INFO] [stdout]    |                 ^^^^^^ could not find `serial` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::spi`
[INFO] [stdout]   --> examples/spi_write.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::hal::spi::Spi;
[INFO] [stdout]    |                 ^^^ could not find `spi` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::tsc`
[INFO] [stdout]   --> examples/touch.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::hal::tsc::Tsc;
[INFO] [stdout]    |                 ^^^ could not find `tsc` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::dma`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::hal::dma::Half;
[INFO] [stdout]    |                 ^^^ could not find `dma` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::hal::serial::Serial;
[INFO] [stdout]    |                 ^^^^^^ could not find `serial` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial`
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::hal::serial::Serial;
[INFO] [stdout]    |                 ^^^^^^ could not find `serial` in `hal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/timer.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut flash = dp.FLASH.constrain(); // .constrain();
[INFO] [stdout]    |                              ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/timer.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::<impl cortex_m::peripheral::NVIC>::enable`: Use `NVIC::unmask`
[INFO] [stdout]   --> examples/timer.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     nvic.enable(hal::stm32::Interrupt::TIM7);
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `TIM7` found for enum `hal::interrupt` in the current scope
[INFO] [stdout]   --> examples/timer.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     nvic.enable(hal::stm32::Interrupt::TIM7);
[INFO] [stdout]    |                                        ^^^^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        variant or associated item not found in `hal::interrupt`
[INFO] [stdout]    |                                        help: there is a variant with a similar name: `TIM2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `TIM7` on type `hal::stm32wb_pac::Peripherals`
[INFO] [stdout]   --> examples/timer.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut timer = Timer::tim7(dp.TIM7, 1.hz(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                    ^^^^ help: a field with a similar name exists: `TIM2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/timer.rs:43:67
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut timer = Timer::tim7(dp.TIM7, 1.hz(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                                                   ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `TIM7` found for enum `hal::interrupt` in the current scope
[INFO] [stdout]   --> examples/timer.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn TIM7() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |    |
[INFO] [stdout]    |    variant or associated item not found in `hal::interrupt`
[INFO] [stdout]    |    help: there is a variant with a similar name: `TIM2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axp173`
[INFO] [stdout]   --> examples/i2c_axp173.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use axp173::{AdcSampleRate, AdcSettings, Axp173, ChargingCurrent, TsPinMode};
[INFO] [stdout]    |     ^^^^^^ use of undeclared type or module `axp173`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_semihosting` (which `i2c_axp173` depends on)
[INFO] [stdout]   = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-380720dc30e19fa5.rmeta
[INFO] [stdout]   = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-432436be05e5fb36.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/rtc.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut flash = dp.FLASH.constrain(); // .constrain();
[INFO] [stdout]    |                              ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/rtc.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `PWR` in the current scope
[INFO] [stdout]   --> examples/rtc.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut pwr = dp.PWR.constrain(&mut rcc.apb1r1);
[INFO] [stdout]    |                          ^^^^^^^^^ method not found in `PWR`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/rtc.rs:42:45
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut pwr = dp.PWR.constrain(&mut rcc.apb1r1);
[INFO] [stdout]    |                                             ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 5 arguments were supplied
[INFO] [stdout]   --> examples/rtc.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks);
[INFO] [stdout]    |               ^^^^^^^^ ------  ---------------  -------------  ------------  ------ supplied 5 arguments
[INFO] [stdout]    |               |
[INFO] [stdout]    |               expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/rtc.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks);
[INFO] [stdout]    |                                         ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `bdcr` on type `Rcc`
[INFO] [stdout]   --> examples/rtc.rs:43:58
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks);
[INFO] [stdout]    |                                                          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false);
[INFO] [stdout]    |                                 ^^^^^ multiple `hours` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(hal::datetime::U32Ext::hours(21), 57.minutes(), 32.seconds(), false);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(hal::prelude::_stm32wb_hal_time_U32Ext::hours(21), 57.minutes(), 32.seconds(), false);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false);
[INFO] [stdout]    |                                             ^^^^^^^ multiple `minutes` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), hal::datetime::U32Ext::minutes(57), 32.seconds(), false);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), hal::prelude::_stm32wb_hal_time_U32Ext::minutes(57), 32.seconds(), false);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:45:59
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false);
[INFO] [stdout]    |                                                           ^^^^^^^ multiple `seconds` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), 57.minutes(), hal::datetime::U32Ext::seconds(32), false);
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut time = Time::new(21.hours(), 57.minutes(), hal::prelude::_stm32wb_hal_time_U32Ext::seconds(32), false);
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year());
[INFO] [stdout]    |                                ^^^ multiple `day` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(hal::datetime::U32Ext::day(1), 24.date(), 4.month(), 2018.year());
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(hal::prelude::_stm32wb_hal_time_U32Ext::day(1), 24.date(), 4.month(), 2018.year());
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:46:52
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year());
[INFO] [stdout]    |                                                    ^^^^^ multiple `month` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), hal::datetime::U32Ext::month(4), 2018.year());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), hal::prelude::_stm32wb_hal_time_U32Ext::month(4), 2018.year());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> examples/rtc.rs:46:66
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year());
[INFO] [stdout]    |                                                                  ^^^^ multiple `year` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32`
[INFO] [stdout] help: disambiguate the associated function for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), 4.month(), hal::datetime::U32Ext::year(2018));
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: disambiguate the associated function for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut date = Date::new(1.day(), 24.date(), 4.month(), hal::prelude::_stm32wb_hal_time_U32Ext::year(2018));
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0034, E0061, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/pll_config.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/pll_config.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `p`, `q` in initializer of `PllConfig`
[INFO] [stdout]   --> examples/pll_config.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let plls = PllConfig {
[INFO] [stdout]    |                ^^^^^^^^^ missing `p`, `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/pll_config.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 |         .cfgr
[INFO] [stdout]    |          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb2` on type `Rcc`
[INFO] [stdout]   --> examples/pll_config.rs:62:83
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2);
[INFO] [stdout]    |                                                                                   ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/serial.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32wb_hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/pwm.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `stm32wb_hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 11 | use stm32wb_hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/serial.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .cfgr
[INFO] [stdout]    |          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/pwm.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/pwm.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `USART2` on type `hal::stm32wb_pac::Peripherals`
[INFO] [stdout]   --> examples/serial.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let serial = Serial::usart2(p.USART2, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                   ^^^^^^ help: a field with a similar name exists: `USART1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/serial.rs:55:83
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let serial = Serial::usart2(p.USART2, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                                                                   ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pwm` found for struct `stm32wb_hal::stm32wb_pac::TIM2` in the current scope
[INFO] [stdout]   --> examples/pwm.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |         .pwm((c1, c2, c3, c4), 1.khz(), clocks, &mut rcc.apb1r1)
[INFO] [stdout]    |          ^^^ method not found in `stm32wb_hal::stm32wb_pac::TIM2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/pwm.rs:46:58
[INFO] [stdout]    |
[INFO] [stdout] 46 |         .pwm((c1, c2, c3, c4), 1.khz(), clocks, &mut rcc.apb1r1)
[INFO] [stdout]    |                                                          ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/spi_write.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/spi_write.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |         .cfgr
[INFO] [stdout]    |          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/spi_write.rs:42:44
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/spi_write.rs:43:44
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut gpiob = p.GPIOB.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb2` on type `Rcc`
[INFO] [stdout]   --> examples/spi_write.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |         &mut rcc.apb2,
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/touch.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/serial_dma.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma.rs:34:44
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/serial_dma_us2.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:34:44
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `split` found for struct `DMA1` in the current scope
[INFO] [stdout]   --> examples/serial_dma_us2.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                           ^^^^^ method not found in `DMA1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `split` found for struct `DMA1` in the current scope
[INFO] [stdout]   --> examples/serial_dma.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                           ^^^^^ method not found in `DMA1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb1` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                                          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb1` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                                          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `USART2` on type `hal::stm32wb_pac::Peripherals`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let serial = Serial::usart2(p.USART2, (tx, rx), 115200.bps(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                   ^^^^^^ help: a field with a similar name exists: `USART1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb1r1` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_us2.rs:51:84
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let serial = Serial::usart2(p.USART2, (tx, rx), 115200.bps(), clocks, &mut rcc.apb1r1);
[INFO] [stdout]    |                                                                                    ^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/touch.rs:28:44
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut gpiob = p.GPIOB.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/touch.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let _clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma.rs:52:83
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2);
[INFO] [stdout]    |                                                                                   ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb1` on type `Rcc`
[INFO] [stdout]   --> examples/touch.rs:53:52
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let tsc = Tsc::tsc(p.TSC, sample_pin, &mut rcc.ahb1, None);
[INFO] [stdout]    |                                                    ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut flash = p.FLASH.constrain();
[INFO] [stdout]    |                             ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::hal::flash::FlashExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:35:44
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut gpioa = p.GPIOA.split(&mut rcc.ahb2);
[INFO] [stdout]    |                                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `split` found for struct `DMA1` in the current scope
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                           ^^^^^ method not found in `DMA1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ahb1` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let channels = p.DMA1.split(&mut rcc.ahb1);
[INFO] [stdout]    |                                          ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `cfgr` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let clocks = rcc.cfgr.freeze(&mut flash.acr);
[INFO] [stdout]    |                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `apb2` on type `Rcc`
[INFO] [stdout]   --> examples/serial_dma_partial_peek.rs:54:83
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2);
[INFO] [stdout]    |                                                                                   ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `clocks`, `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "b9988c5a5e0091bd40993173e1e7e9bc59245e38ac6299922f0c5e5f0009307a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9988c5a5e0091bd40993173e1e7e9bc59245e38ac6299922f0c5e5f0009307a", kill_on_drop: false }`
[INFO] [stdout] b9988c5a5e0091bd40993173e1e7e9bc59245e38ac6299922f0c5e5f0009307a
